<?php 
session_start();
require_once( dirname(dirname(__FILE__)) . '/wp-load.php' ); //print_r($_GET);exit;
include '../Ucenter/config.inc.php';
include '../Ucenter/uc_client/client.php';
list($uid, $username, $password, $email) = uc_user_login($_SESSION['log'], $_SESSION['pwd']);
$Example_uid = $uid;
if($uid > 0) {
	echo uc_user_synlogin($uid);
} elseif($uid == -1) {
	echo '用户不存在,或者被删除';
} elseif($uid == -2) {
	echo '密码错';
} else {
	echo '未定义';
}

?>